#!/bin/bash

if [[ $# -lt 1 ]]; then
	echo "Usage: filename"
	exit
fi

filename=$1

graph -C -T ps -X "Load" -Y "Relative # hops" < $filename > $filename.ps
epstopdf $filename.ps
rm $filename.ps
